package itc.djchallenge;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class PlaySongs extends Activity implements View.OnClickListener {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_play);
		Thread timer = new Thread() {
			public void run() {
				try {
					sleep(20000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				} finally {
					Intent openStartingPoint = new Intent("itc.djchallenge.VIEWRESULTS");
					startActivity(openStartingPoint);
				}
			}
		};
		timer.start();
	}
	
	
	@Override
	public void onClick(View v) {
		
	}
	
	



}
